import request from '@/utils/request'

// 查询实时Ticker列表
export function listSpotrealtimetickerbak(query) {
  return request({
    url: '/spotrealtimeticker/spotrealtimetickerbak/list',
    method: 'get',
    params: query
  })
}

// 查询实时Ticker详细
export function getSpotrealtimetickerbak(id) {
  return request({
    url: '/spotrealtimeticker/spotrealtimetickerbak/' + id,
    method: 'get'
  })
}

// 新增实时Ticker
export function addSpotrealtimetickerbak(data) {
  return request({
    url: '/spotrealtimeticker/spotrealtimetickerbak',
    method: 'post',
    data: data
  })
}

// 修改实时Ticker
export function updateSpotrealtimetickerbak(data) {
  return request({
    url: '/spotrealtimeticker/spotrealtimetickerbak',
    method: 'put',
    data: data
  })
}

// 删除实时Ticker
export function delSpotrealtimetickerbak(id) {
  return request({
    url: '/spotrealtimeticker/spotrealtimetickerbak/' + id,
    method: 'delete'
  })
}
